// 保存Token
function localSet(value, key="token") {
  window.localStorage.setItem(key,value)  
}

// 获取Token
function localGet(key="token") {
   return window.localStorage.getItem(key) 
}

// 删除Token
function localRemove(key="token") {
    window.localStorage.removeItem(key)
}

// 暴露出去
export {localGet, localSet, localRemove}